{	Problem: http://codeforces.ru/problemset/problem/66/A
	Verdict: Accepted

}
const d:array[1..4] of string=('127','32767','2147483647','9223372036854775807');
      t:array[1..5] of string=('byte', 'short', 'int', 'long', 'BigInteger');
var s:string;
function compare(s,t:string):boolean;
var i:integer; c:boolean;
begin
c:=true;
if length(S)>length(t) then result:=true else
if length(s)<length(t) then result:=false else begin
  result:=true;
  i:=0;
  while (result) and (i<length(S)) and (c) do begin
    inc(i);
    if t[i]>s[i] then result:=false else
    if t[i]<s[i] then c:=false;
  end;
  if c then result:=false;
end;
end;
begin
readln(s);
if compare(S,d[4]) then write(t[5]) else
if compare(S,d[3]) then write(t[4]) else
if compare(S,d[2]) then write(t[3]) else
if compare(S,d[1]) then write(t[2]) else write(T[1]);
end.